package cn.wolfcode.rbac.mapper;

import cn.wolfcode.rbac.domain.SystemDictionary;
import cn.wolfcode.rbac.domain.SystemDictionaryItem;
import cn.wolfcode.rbac.query.QueryObject;
import cn.wolfcode.rbac.query.SystemDionaryItemQuery;

import java.util.List;

public interface SystemDictionaryItemMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SystemDictionaryItem record);

    SystemDictionaryItem selectByPrimaryKey(Long id);

    List<SystemDictionaryItem> selectAll();

    int updateByPrimaryKey(SystemDictionaryItem record);
    List<SystemDictionaryItem> selectForList(SystemDionaryItemQuery qo);
    int delete(Long id);

    //查询出字典目录为职位的所有字典明细
    public List<SystemDictionaryItem> selectBysySystemDictionaryId();

    //查询出字典目录为来源的所有字典明细
    public List<SystemDictionaryItem> selectSourcetBysySystemDictionaryId();
    //获取到交流方式
    public List<SystemDictionaryItem> selectMode();
}